@selected-color: @primary-color;
.document {
  min-height: 600px;
  position: relative;
  outline: 2px solid #ffca6f;
  &:focus {
    outline: 2px solid #ffca6f;
  }
  &.selected {
    outline: 2px solid @selected-color;
  }
  .inline-toolbar {
    position: absolute;
    height: 18px;
    top: -19px;
    right: 0;
    background-color: @selected-color;
    color: white;
    i {
      cursor: pointer;
      padding: 2px 5px;
    }
  }
}